package model;

import java.util.Date;

public class Coupon {
    private Integer id;

    private Double bannle;

    private String cuponName;

    private Integer type;

    private Integer userId;

    private Date usefulTime;

    private Date expiryTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getBannle() {
        return bannle;
    }

    public void setBannle(Double bannle) {
        this.bannle = bannle;
    }

    public String getCuponName() {
        return cuponName;
    }

    public void setCuponName(String cuponName) {
        this.cuponName = cuponName == null ? null : cuponName.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getUsefulTime() {
        return usefulTime;
    }

    public void setUsefulTime(Date usefulTime) {
        this.usefulTime = usefulTime;
    }

    public Date getExpiryTime() {
        return expiryTime;
    }

    public void setExpiryTime(Date expiryTime) {
        this.expiryTime = expiryTime;
    }
}